[INFO] cloning repository https://github.com/wvdschel/pause_process
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wvdschel/pause_process" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwvdschel%2Fpause_process", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwvdschel%2Fpause_process'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a4444581316d7120853708d8a1e8c5d76dc9c514
[INFO] building wvdschel/pause_process against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwvdschel%2Fpause_process" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wvdschel/pause_process on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/wvdschel/pause_process
[INFO] finished tweaking git repo https://github.com/wvdschel/pause_process
[INFO] tweaked toml for git repo https://github.com/wvdschel/pause_process written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/wvdschel/pause_process already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 40ee4f3f1386f39dfa0b69eed017c6d69b47b1a833ec2ad5c26ac56cde6466b8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "40ee4f3f1386f39dfa0b69eed017c6d69b47b1a833ec2ad5c26ac56cde6466b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "40ee4f3f1386f39dfa0b69eed017c6d69b47b1a833ec2ad5c26ac56cde6466b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40ee4f3f1386f39dfa0b69eed017c6d69b47b1a833ec2ad5c26ac56cde6466b8", kill_on_drop: false }`
[INFO] [stdout] 40ee4f3f1386f39dfa0b69eed017c6d69b47b1a833ec2ad5c26ac56cde6466b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3a6925d5c81feed27f67b3a5431a09616bc5782a5e18c8ef596ab25dd519ee70
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3a6925d5c81feed27f67b3a5431a09616bc5782a5e18c8ef596ab25dd519ee70", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.6
[INFO] [stderr]    Compiling pause_process v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/main.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::shared::windef::HWND;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::windef::POINT;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::minwindef::UINT;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::minwindef::DWORD;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::minwindef::WPARAM;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::shared::minwindef::LPARAM;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]  --> src/main.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::errhandlingapi;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::winuser::{self, MSG};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::winuser::{self, MSG};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::tlhelp32;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::processthreadsapi;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::handleapi;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::winnt;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 | type ProcessID = winapi::shared::minwindef::DWORD;
[INFO] [stdout]    |                          ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 | type ThreadID = winapi::shared::minwindef::DWORD;
[INFO] [stdout]    |                         ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt`
[INFO] [stdout]   --> src/main.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |       let s2: OsString = OsStringExt::from_wide(&s[..pos]);
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let s2: OsString = OsString::from_wide(&s[..pos]);
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 4  | use std::os::unix::prelude::OsStringExt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/main.rs:53:67
[INFO] [stdout]    |
[INFO] [stdout] 53 |         dwSize: std::mem::size_of::<tlhelp32::THREADENTRY32>() as DWORD,
[INFO] [stdout]    |                                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:81:20
[INFO] [stdout]    |
[INFO] [stdout] 81 |     window_handle: HWND,
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:85:55
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl ProcessInfo {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<HWND>`
[INFO] [stdout] 85 |     fn get_focused_process(window_handle: Option<&mut HWND>) -> Result<Self, ()> {
[INFO] [stdout]    |                                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/main.rs:130:67
[INFO] [stdout]     |
[INFO] [stdout] 130 |         dwSize: std::mem::size_of::<tlhelp32::THREADENTRY32>() as DWORD,
[INFO] [stdout]     |                                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/main.rs:146:76
[INFO] [stdout]     |
[INFO] [stdout] 146 |             if processthreadsapi::SuspendThread(thread_handle) == -1i32 as DWORD {
[INFO] [stdout]     |                                                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/main.rs:167:67
[INFO] [stdout]     |
[INFO] [stdout] 167 |         dwSize: std::mem::size_of::<tlhelp32::THREADENTRY32>() as DWORD,
[INFO] [stdout]     |                                                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/main.rs:183:79
[INFO] [stdout]     |
[INFO] [stdout] 183 |                 if processthreadsapi::ResumeThread(thread_handle) == -1i32 as DWORD {
[INFO] [stdout]     |                                                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:213:28
[INFO] [stdout]     |
[INFO] [stdout] 213 |             let mut hwnd : HWND = std::ptr::null_mut();
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MSG` in this scope
[INFO] [stdout]    --> src/main.rs:254:27
[INFO] [stdout]     |
[INFO] [stdout] 254 |             let mut msg = MSG {
[INFO] [stdout]     |                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:255:29
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 hwnd : 0 as HWND,
[INFO] [stdout]     |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]    --> src/main.rs:256:32
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 message : 0 as UINT,
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:257:31
[INFO] [stdout]     |
[INFO] [stdout] 257 |                 wParam : 0 as WPARAM,
[INFO] [stdout]     |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:258:31
[INFO] [stdout]     |
[INFO] [stdout] 258 |                 lParam : 0 as LPARAM,
[INFO] [stdout]     |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/main.rs:259:29
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 time : 0 as DWORD,
[INFO] [stdout]     |                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stdout]    --> src/main.rs:260:22
[INFO] [stdout]     |
[INFO] [stdout] 260 |                 pt : POINT { x: 0, y: 0, },
[INFO] [stdout]     |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/main.rs:263:62
[INFO] [stdout]     |
[INFO] [stdout] 263 |                 let pm = winuser::GetMessageW(&mut msg, 0 as HWND, 0, 0);
[INFO] [stdout]     |                                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 33 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pause_process`
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433.
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "3a6925d5c81feed27f67b3a5431a09616bc5782a5e18c8ef596ab25dd519ee70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a6925d5c81feed27f67b3a5431a09616bc5782a5e18c8ef596ab25dd519ee70", kill_on_drop: false }`
[INFO] [stdout] 3a6925d5c81feed27f67b3a5431a09616bc5782a5e18c8ef596ab25dd519ee70
